Optimal. Leaf size=63 \[ -\frac{\left (a+b x^2\right )^{3/2}}{x}+\frac{3}{2} b x \sqrt{a+b x^2}+\frac{3}{2} a \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0177573, antiderivative size = 63, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.267, Rules used = {277, 195, 217, 206} \[ -\frac{\left (a+b x^2\right )^{3/2}}{x}+\frac{3}{2} b x \sqrt{a+b x^2}+\frac{3}{2} a \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 277
Rule 195
Rule 217
Rule 206
Rubi steps
\begin{align*} \int \frac{\left (a+b x^2\right )^{3/2}}{x^2} \, dx &=-\frac{\left (a+b x^2\right )^{3/2}}{x}+(3 b) \int \sqrt{a+b x^2} \, dx\\ &=\frac{3}{2} b x \sqrt{a+b x^2}-\frac{\left (a+b x^2\right )^{3/2}}{x}+\frac{1}{2} (3 a b) \int \frac{1}{\sqrt{a+b x^2}} \, dx\\ &=\frac{3}{2} b x \sqrt{a+b x^2}-\frac{\left (a+b x^2\right )^{3/2}}{x}+\frac{1}{2} (3 a b) \operatorname{Subst}\left (\int \frac{1}{1-b x^2} \, dx,x,\frac{x}{\sqrt{a+b x^2}}\right )\\ &=\frac{3}{2} b x \sqrt{a+b x^2}-\frac{\left (a+b x^2\right )^{3/2}}{x}+\frac{3}{2} a \sqrt{b} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )\\ \end{align*}
Mathematica [C] time = 0.0079266, size = 50, normalized size = 0.79 \[ -\frac{a \sqrt{a+b x^2} \, _2F_1\left (-\frac{3}{2},-\frac{1}{2};\frac{1}{2};-\frac{b x^2}{a}\right )}{x \sqrt{\frac{b x^2}{a}+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 69, normalized size = 1.1 \begin{align*} -{\frac{1}{ax} \left ( b{x}^{2}+a \right ) ^{{\frac{5}{2}}}}+{\frac{bx}{a} \left ( b{x}^{2}+a \right ) ^{{\frac{3}{2}}}}+{\frac{3\,bx}{2}\sqrt{b{x}^{2}+a}}+{\frac{3\,a}{2}\sqrt{b}\ln \left ( x\sqrt{b}+\sqrt{b{x}^{2}+a} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.56303, size = 271, normalized size = 4.3 \begin{align*} \left [\frac{3 \, a \sqrt{b} x \log \left (-2 \, b x^{2} - 2 \, \sqrt{b x^{2} + a} \sqrt{b} x - a\right ) + 2 \, \sqrt{b x^{2} + a}{\left (b x^{2} - 2 \, a\right )}}{4 \, x}, -\frac{3 \, a \sqrt{-b} x \arctan \left (\frac{\sqrt{-b} x}{\sqrt{b x^{2} + a}}\right ) - \sqrt{b x^{2} + a}{\left (b x^{2} - 2 \, a\right )}}{2 \, x}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 2.29281, size = 88, normalized size = 1.4 \begin{align*} - \frac{a^{\frac{3}{2}}}{x \sqrt{1 + \frac{b x^{2}}{a}}} - \frac{\sqrt{a} b x}{2 \sqrt{1 + \frac{b x^{2}}{a}}} + \frac{3 a \sqrt{b} \operatorname{asinh}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{2} + \frac{b^{2} x^{3}}{2 \sqrt{a} \sqrt{1 + \frac{b x^{2}}{a}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 2.47025, size = 99, normalized size = 1.57 \begin{align*} \frac{1}{2} \, \sqrt{b x^{2} + a} b x - \frac{3}{4} \, a \sqrt{b} \log \left ({\left (\sqrt{b} x - \sqrt{b x^{2} + a}\right )}^{2}\right ) + \frac{2 \, a^{2} \sqrt{b}}{{\left (\sqrt{b} x - \sqrt{b x^{2} + a}\right )}^{2} - a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]